package com.basic.business.memoType.domain;

import com.basic.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.basic.common.utils.StringUtils;
import com.basic.common.utils.uuid.ULID;

/**
 * 备注类型对象 t_orders_memo_type
 * 
 * @author zhaoxy_jn@163.com
 * @date 2025-05-22
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TOrdersMemoType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 备注标签 */
    @ExcelProperty(value = "备注标签")
    private String memoLabel;

    /** 备注键值 */
    @ExcelProperty(value = "备注键值")
    private String memoValue;

    /** 状态 0:正常 1:删除 */
    @ExcelProperty(value = "状态 0:正常 1:删除")
    private String memoStatus;

    public void setId(String id) {
        this.id = StringUtils.isNotEmpty(id) ? id : ULID.getId();
    }
}
